package ccmis.finance.capital.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import jfox.platform.infrastructure.LocalNamingAndRefInspectableEntityObject;

/**
 * @author <a href="mailto:ren.yingb@gmail.com">Ren Yingbo</a>
 */
@Entity
@Table(name="T_FINANCIAL_RATE_CHANGE")
public class InterestRate extends LocalNamingAndRefInspectableEntityObject {

	@Column(name="CONTRACT_ID")
	private long contractID;
	
	@Column(name="END_DATE")
	private long endDate;
	
	@Column(name="INTEREST_RATE")
	private BigDecimal interestRate;
	
	@Column(name="RNO")
	private String rNo;
	
	@Column(name="START_DATE")
	private long startDate;

	public long getContractID() {
		return contractID;
	}

	public void setContractID(long contractID) {
		this.contractID = contractID;
	}

	public long getEndDate() {
		return endDate;
	}

	public void setEndDate(long endDate) {
		this.endDate = endDate;
	}

	public BigDecimal getInterestRate() {
		return interestRate;
	}

	public void setInterestRate(BigDecimal interestRate) {
		this.interestRate = interestRate;
	}

	public String getRNo() {
		return rNo;
	}

	public void setRNo(String no) {
		rNo = no;
	}

	public long getStartDate() {
		return startDate;
	}

	public void setStartDate(long startDate) {
		this.startDate = startDate;
	}

}
